//deprecated///////////////

/*

function dragDropInit(){
	//used when adopting nodes
	var draggable;  //object that is being dragged
	var droppable;	//object that is being dropped on
}



	//for during dragging
	//FIX will not need some of these after implementing new drag rules
Node.prototype.reEnableButtons = function (){
	var self = this;
	$(self.closeButton).on('click', function(event) { return self.close(event)} );
	$(self.supportButton).on('click', function() { return self.spawnChild("support") });
	$(self.evidenceButton).on('click', function() { return self.spawnChild("evidence") });
	$(self.attackButton).on('click', function() { return self.spawnChild("attack") });
}

Node.prototype.disableChildrenDroppable = function (){
	for (i in this.children){
		$(this.children[i].displayedDiv).droppable("disable");
		this.children[i].disableChildrenDroppable();
	}
}

Node.prototype.enableChildrenDroppable = function (){
	for (i in this.children){
		$(this.children[i].displayedDiv).droppable("enable");
		this.children[i].enableChildrenDroppable();
	}
}

Node.prototype.moveChildren = function(offsetX, offsetY){
	for (i in this.children){
		this.children[i].displayedDiv.style.left = this.children[i].displayedDiv.offsetLeft + offsetX + "px";
		this.children[i].displayedDiv.style.top = this.children[i].displayedDiv.offsetTop + offsetY + "px";
		this.children[i].moveChildren(offsetX, offsetY);
	}
}

*/